Generic 9x10

Game hierarchy

• Game
    • Generic Chess
        • Generic x10
            • Generic 9x10

Piece Types

Internal NameNameNotationAdded ByNotes
KingKingKGeneric Chess 
PawnPawnPGeneric Chess 

Game Variables

From Game:

Name = string
Invented = string
InventedBy = string
NumberOfSquareColors = integer
FENFormat = string
FENStart = string
Array = string
DeduplicateMoves = boolean
StaticExchangeEvaluation = boolean

From Generic Chess:

StalemateResult = choice of { Draw, Win, Loss }   (default: Draw)
PromotionRule = choice of { None, Standard, Replacement, Custom }   (default: Standard)
PromotionTypes = string
BareKing = boolean   (default: false)
EnPassant = boolean   (default: true)
PromotingType = PieceType   (default: Pawn)
CastlingType = PieceType   (default: King)

From Generic x10:

PawnMultipleMove = choice of:

  • None: Pawns can never move more than a single space
  • Double: Pawns on the second rank can move two spaces
  • Triple: Pawns on the second rank can move up to three spaces
  • Great: Pawns on the second or third rank can move two spaces
  • Grand: Pawns on the third rank can move two spaces
  • Wildebeest: Pawns on the second rank can move up to three spaces and pawns on the third rank can move two spaces
  • Unicorn: Pawns on the second rank can move two spaces as well as pawns on the third rank of the centermost file(s)
  • Fast Pawn: Pawns can move two spaces from any location
  • Custom: Indicates a custom rule implemented by derived class

From Generic 9x10:

Castling = choice of:

  • Standard: King starting on the e file slides two squares either direction, subject to the usual restrictions, to castle with the piece in the corner
  • Long: King starting on the e file slides three squares either direction, subject to the usual restrictions, to castle with the piece in the corner
  • Flexible: King starting on the e file slides two or more squares, subject to the usual restrictions, to castle with the piece in the corner
  • Close-Rook: King starting on the e file slides two squares either direction, subject to the usual restrictions, to castle with the piece on the b or h file
  • 2R Standard: King starting on the e file of the second rank slides two squares either direction, subject to the usual restrictions, to castle with the piece on the edge
  • 2R Long: King starting on the e file of the second rank slides three squares either direction, subject to the usual restrictions, to castle with the piece on the edge
  • 2R Flexible: King starting on the e file of the second rank slides two or more squares, subject to the usual restrictions, to castle with the piece on the edge
  • 2R Close-Rook: King starting on the e file of the second rank slides two squares either direction, subject to the usual restrictions, to castle with the piece on the b or h file
  • Custom: Indicates a custom rule implemented by a derived class
  • None: No castling

 
 

COPYRIGHT (C) 2021 BY GREG STRONG